<template>
  <div class="Noticebar">
    <van-notice-bar :scrollable="true" left-icon="volume-o" :text="text" />
  </div>
</template>

<script>
export default {
  props: ["text"],
};
</script>

<style lang="scss">
.Noticebar {
  .van-notice-bar {
    height: 64px;
    background-color: #f9eec6;
    color: #a76e00;
    font-size: 24px;
  }
}
</style>
